package org.apache.ocean.main.search.tag;

import org.apache.lucene.index.Term;

public class TagTransaction {
  public long id;
  public Update add;
  public Update delete;
  
  public TagTransaction(long id, Update add, Update delete) {
		this.id = id;
		this.add = add;
		this.delete = delete;
	}
  
  public static class Update {
  	public Term term;
  	public int[] docs;
  	
		public Update(Term term, int[] docs) {
			this.term = term;
			this.docs = docs;
		}
  }
}
